package com.yum.Iterator.List;

import com.yum.Iterator.Collection.YCollection;

import java.util.Iterator;


public interface YList<E> extends YCollection<E> {


    int size();

    boolean add(E value);

    E getValue(int index);

    boolean setValue(int index,E value);

    E[] toArray();

    Object clone();

    boolean remove(Object o);

    boolean removeAll(YCollection<?> Yc);

    int indexOf(Object value);

    int lastIndexOf(Object value);

    Iterator iterator();


}
